/*
 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 * See https://llvm.org/LICENSE.txt for license information.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 *
 */

MTHINTRIN(atan , ss   , em64t      , __mth_i_atan          , __mth_i_atan          , __mth_i_atan          ,__math_dispatch_error)
MTHINTRIN(atan , ds   , em64t      , __mth_i_datan         , __mth_i_datan         , __mth_i_datan         ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , em64t      , __fvsatan             , __fvsatan             , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , em64t      , __fvdatan             , __fvdatan             , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , em64t      , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , em64t      , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , sse4       , __mth_i_atan          , __mth_i_atan          , __mth_i_atan          ,__math_dispatch_error)
MTHINTRIN(atan , ds   , sse4       , __mth_i_datan         , __mth_i_datan         , __mth_i_datan         ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , sse4       , __fvsatan             , __fvsatan             , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , sse4       , __fvdatan             , __fvdatan             , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , sse4       , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , sse4       , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , avx        , __mth_i_atan          , __mth_i_atan          , __mth_i_atan          ,__math_dispatch_error)
MTHINTRIN(atan , ds   , avx        , __mth_i_datan         , __mth_i_datan         , __mth_i_datan         ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , avx        , __fvs_atan            , __fvs_atan            , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , avx        , __fvd_atan            , __fvd_atan            , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv8  , avx        , __fvs_atan_256        , __fvs_atan_256        , __gs_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv4  , avx        , __fvd_atan_256        , __fvd_atan_256        , __gd_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , avx        , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , avx        , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv8m , avx        , __fs_atan_8_mn        , __rs_atan_8_mn        , __ps_atan_8_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv4m , avx        , __fd_atan_4_mn        , __rd_atan_4_mn        , __pd_atan_4_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , avxfma4    , __mth_i_atan          , __mth_i_atan          , __mth_i_atan          ,__math_dispatch_error)
MTHINTRIN(atan , ds   , avxfma4    , __mth_i_datan         , __mth_i_datan         , __mth_i_datan         ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , avxfma4    , __fvs_atan            , __fvs_atan            , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , avxfma4    , __fvd_atan            , __fvd_atan            , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv8  , avxfma4    , __fvs_atan_256        , __fvs_atan_256        , __gs_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv4  , avxfma4    , __fvd_atan_256        , __fvd_atan_256        , __gd_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , avxfma4    , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , avxfma4    , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv8m , avxfma4    , __fs_atan_8_mn        , __rs_atan_8_mn        , __ps_atan_8_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv4m , avxfma4    , __fd_atan_4_mn        , __rd_atan_4_mn        , __pd_atan_4_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , avx2       , __fs_atan_1_avx2      , __fs_atan_1_avx2      , __mth_i_atan_avx2     ,__math_dispatch_error)
MTHINTRIN(atan , ds   , avx2       , __fd_atan_1_avx2      , __mth_i_datan_avx2    , __mth_i_datan_avx2    ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , avx2       , __fs_atan_4_avx2      , __fs_atan_4_avx2      , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , avx2       , __fd_atan_2_avx2      , __fd_atan_2_avx2      , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv8  , avx2       , __fs_atan_8_avx2      , __fs_atan_8_avx2      , __gs_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv4  , avx2       , __fd_atan_4_avx2      , __fd_atan_4_avx2      , __gd_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , avx2       , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , avx2       , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv8m , avx2       , __fs_atan_8_mn        , __rs_atan_8_mn        , __ps_atan_8_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv4m , avx2       , __fd_atan_4_mn        , __rd_atan_4_mn        , __pd_atan_4_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , avx512knl  , __fs_atan_1_avx2      , __fs_atan_1_avx2      , __mth_i_atan_avx2     ,__math_dispatch_error)
MTHINTRIN(atan , ds   , avx512knl  , __fd_atan_1_avx2      , __mth_i_datan_avx2    , __mth_i_datan_avx2    ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , avx512knl  , __fs_atan_4_avx2      , __fs_atan_4_avx2      , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , avx512knl  , __fd_atan_2_avx2      , __fd_atan_2_avx2      , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv8  , avx512knl  , __fs_atan_8_avx2      , __fs_atan_8_avx2      , __gs_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv4  , avx512knl  , __fd_atan_4_avx2      , __fd_atan_4_avx2      , __gd_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv16 , avx512knl  , __fs_atan_16_avx512   , __fs_atan_16_avx512   , __gs_atan_16_p        ,__math_dispatch_error)
MTHINTRIN(atan , dv8  , avx512knl  , __fd_atan_8_avx512    , __fd_atan_8_avx512    , __gd_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , avx512knl  , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , avx512knl  , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv8m , avx512knl  , __fs_atan_8_mn        , __rs_atan_8_mn        , __ps_atan_8_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv4m , avx512knl  , __fd_atan_4_mn        , __rd_atan_4_mn        , __pd_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv16m, avx512knl  , __fs_atan_16_mn       , __rs_atan_16_mn       , __ps_atan_16_mn       ,__math_dispatch_error)
MTHINTRIN(atan , dv8m , avx512knl  , __fd_atan_8_mn        , __rd_atan_8_mn        , __pd_atan_8_mn        ,__math_dispatch_error)

MTHINTRIN(atan , ss   , avx512     , __fs_atan_1_avx2      , __fs_atan_1_avx2      , __mth_i_atan_avx2     ,__math_dispatch_error)
MTHINTRIN(atan , ds   , avx512     , __fd_atan_1_avx2      , __mth_i_datan_avx2    , __mth_i_datan_avx2    ,__math_dispatch_error)
MTHINTRIN(atan , sv4  , avx512     , __fs_atan_4_avx2      , __fs_atan_4_avx2      , __gs_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv2  , avx512     , __fd_atan_2_avx2      , __fd_atan_2_avx2      , __gd_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv8  , avx512     , __fs_atan_8_avx2      , __fs_atan_8_avx2      , __gs_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , dv4  , avx512     , __fd_atan_4_avx2      , __fd_atan_4_avx2      , __gd_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv16 , avx512     , __fs_atan_16_avx512   , __fs_atan_16_avx512   , __gs_atan_16_p        ,__math_dispatch_error)
MTHINTRIN(atan , dv8  , avx512     , __fd_atan_8_avx512    , __fd_atan_8_avx512    , __gd_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , sv4m , avx512     , __fs_atan_4_mn        , __rs_atan_4_mn        , __ps_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv2m , avx512     , __fd_atan_2_mn        , __rd_atan_2_mn        , __pd_atan_2_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv8m , avx512     , __fs_atan_8_mn        , __rs_atan_8_mn        , __ps_atan_8_mn        ,__math_dispatch_error)
MTHINTRIN(atan , dv4m , avx512     , __fd_atan_4_mn        , __rd_atan_4_mn        , __pd_atan_4_mn        ,__math_dispatch_error)
MTHINTRIN(atan , sv16m, avx512     , __fs_atan_16_mn       , __rs_atan_16_mn       , __ps_atan_16_mn       ,__math_dispatch_error)
MTHINTRIN(atan , dv8m , avx512     , __fd_atan_8_mn        , __rd_atan_8_mn        , __pd_atan_8_mn        ,__math_dispatch_error)

MTHINTRIN(atan , cs   , em64t      , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , em64t      , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , em64t      , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , em64t      , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , sse4       , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , sse4       , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , sse4       , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , sse4       , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , avx        , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , avx        , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , avx        , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , avx        , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv4  , avx        , __gc_atan_4_f         , __gc_atan_4_r         , __gc_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv2  , avx        , __gz_atan_2_f         , __gz_atan_2_r         , __gz_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , avxfma4    , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , avxfma4    , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , avxfma4    , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , avxfma4    , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv4  , avxfma4    , __gc_atan_4_f         , __gc_atan_4_r         , __gc_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv2  , avxfma4    , __gz_atan_2_f         , __gz_atan_2_r         , __gz_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , avx2       , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , avx2       , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , avx2       , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , avx2       , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv4  , avx2       , __gc_atan_4_f         , __gc_atan_4_r         , __gc_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv2  , avx2       , __gz_atan_2_f         , __gz_atan_2_r         , __gz_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , avx512knl  , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , avx512knl  , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , avx512knl  , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , avx512knl  , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv4  , avx512knl  , __gc_atan_4_f         , __gc_atan_4_r         , __gc_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv8  , avx512knl  , __gc_atan_8_f         , __gc_atan_8_r         , __gc_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv2  , avx512knl  , __gz_atan_2_f         , __gz_atan_2_r         , __gz_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv4  , avx512knl  , __gz_atan_4_f         , __gz_atan_4_r         , __gz_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , cs   , avx512     , catanf                , catanf                , catanf                ,__math_dispatch_error)
MTHINTRIN(atan , zs   , avx512     , catan                 , catan                 , catan                 ,__math_dispatch_error)
MTHINTRIN(atan , zv1  , avx512     , __gz_atan_1v_f        , __gz_atan_1v_r        , __gz_atan_1v_p        ,__math_dispatch_error)
MTHINTRIN(atan , cv2  , avx512     , __gc_atan_2_f         , __gc_atan_2_r         , __gc_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv4  , avx512     , __gc_atan_4_f         , __gc_atan_4_r         , __gc_atan_4_p         ,__math_dispatch_error)
MTHINTRIN(atan , cv8  , avx512     , __gc_atan_8_f         , __gc_atan_8_r         , __gc_atan_8_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv2  , avx512     , __gz_atan_2_f         , __gz_atan_2_r         , __gz_atan_2_p         ,__math_dispatch_error)
MTHINTRIN(atan , zv4  , avx512     , __gz_atan_4_f         , __gz_atan_4_r         , __gz_atan_4_p         ,__math_dispatch_error)
